package org.jeecg.modules.my.cblOrder.vo;

import java.util.List;

import org.jeecg.modules.my.cblOrder.entity.CblOrderDetail;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 客户提交给供应商的采购单
 * @Author: jeecg-boot
 * @Date:   2020-09-06
 * @Version: V1.0
 */
@Data
@ApiModel(value="cbl_orderPage对象", description="客户提交给供应商的采购单")
public class CblOrderPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
	private java.lang.String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private java.util.Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private java.util.Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private java.lang.String sysOrgCode;
	/**租户id*/
	@Excel(name = "租户id", width = 15)
	@ApiModelProperty(value = "租户id")
	private java.lang.String tenantId;
	/**供应商*/
	@Excel(name = "供应商", width = 15, dictTable = "cbl_supplier", dicText = "name", dicCode = "id")
    @Dict(dictTable = "cbl_supplier", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "供应商")
	private java.lang.String gongys;
	/**地址*/
	@Excel(name = "地址", width = 15)
	@ApiModelProperty(value = "地址")
	private java.lang.String address;
	/**电话*/
	@Excel(name = "电话", width = 15)
	@ApiModelProperty(value = "电话")
	private java.lang.String mobile;
	/**合计金额*/
	@Excel(name = "合计金额", width = 15)
	@ApiModelProperty(value = "合计金额")
	private java.lang.String hejje;
	/**支付方式*/
	@Excel(name = "支付方式", width = 15, dicCode = "payWay")
    @Dict(dicCode = "payWay")
	@ApiModelProperty(value = "支付方式")
	private java.lang.String zhiffs;
	/**支付状态*/
	@Excel(name = "支付状态", width = 15, dicCode = "payStatus")
    @Dict(dicCode = "payStatus")
	@ApiModelProperty(value = "支付状态")
	private java.lang.String zhifzt;
	/**支付时间*/
	@Excel(name = "支付时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "支付时间")
	private java.util.Date zhifsj;
	/**下单时间*/
	@Excel(name = "下单时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "下单时间")
	private java.util.Date xiadsj;

	@ExcelCollection(name="订单详情")
	@ApiModelProperty(value = "订单详情")
	private List<CblOrderDetail> cblOrderDetailList;

}
